﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
	// Token: 0x020001D5 RID: 469
	[SkinnedMeshRenderRuleAttr]
	internal class SkinnedMeshRenderer_TooManyBones : RecordRuleImp<SkinnedMeshRendererAssetData, SkinnedMeshRendererRecordManager>
	{
		// Token: 0x06000EB6 RID: 3766 RVA: 0x00042678 File Offset: 0x00040878
		protected override bool IsOK(SkinnedMeshRendererAssetData assetData)
		{
			return (float)assetData.boneCount <= this.GetThresholds(50f);
		}
	}
}
